package com.hj.dapp.business.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hj.dapp.business.menu.model.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2023/12/30
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> getMenuByUser(String username);

    List<Menu> getAllMenu();

}
